/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mx.its.dsw2.difsystem.dao;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import mx.its.dsw2.difsystem.modelo.Appointment;

/**
 *
 * @author Karina
 */
@Stateless
public class AppointmentDao extends AbstractDao<Appointment> implements AppointmentDaoLocal {
    @PersistenceContext(unitName = "difSyste2-ejbPU")
    private EntityManager em;

    @Override
    protected EntityManager getEntityManager() {
        return em;
    }

    public AppointmentDao() {
        super(Appointment.class);
    }
    
}
